export const tableOption = {
  "column": [
    {
      "type": "input",
      "label": "标题名称",
      "prop": "name",
      "span": 24,
      "required": true,
      "rules": [
        {
          "required": true,
          "message": "标题名称必须填写"
        }
      ]
    },
    {
      "type": "input",
      "label": "副标题",
      "prop": "subtitle",
      "span": 24,
      "rules": [],
      "hide": true
    },
    {
      "type": "select",
      "label": "颜色",
      "prop": "color",
      "span": 24,
      "hide": true,
      "dicData": [
        {
          "label": "红色",
          "value": "#dd0007"
        },
        {
          "label": "黑色",
          "value": "#000000"
        },
        {
          "label": "蓝色",
          "value": "#00c0ff"
        },
        {
          "label": "绿色",
          "value": "#08da03"
        },
        {
          "label": "橙色",
          "value": "#ff9600"
        }
      ],
      "cascaderItem": [],
      "display": true,
      "props": {
        "label": "label",
        "value": "value"
      }
    },
    {
      "type": "select",
      "label": "详情风格",
      "prop": "detailPageId",
      "dicData": [
        {
          "label": "普通新闻",
          "value": 54
        },
        {
          "label": "视频详情",
          "value": 55
        },
        {
          "label": "图片详情",
          "value": 56
        }
      ],
      "cascaderItem": [],
      "display": true,
      "props": {
        "label": "label",
        "value": "value"
      }
    },
    {
      "type": "img",
      "label": "上传图片",
      "prop": "img",
      "display": true,
      "hide": true,
      "dataType": "string",
      "span": 12
    },
    {
      "type": "tree",
      "label": "所属栏目",
      "prop": "classlistId",
      "span": 12,
      "display": true,
      "parent": true,
      "props": {
        "label": "name",
        "value": "id"
      },
      "dicUrl": "/cms/classlist/tree?lazy=false",
      "dicMethod": "get"
    },
    {
      "type": "tree",
      "label": "所属站点",
      "prop": "siteId",
      "display": true,
      "parent": true,
      "props": {
        "label": "name",
        "value": "id"
      },
      "dicUrl": "/sdAdmin/syswebsite/tree?lazy=false",
      "dicMethod": "get",
      "hide": true
    },
    {
      "type": "input",
      "label": "信息作者",
      "prop": "compile",
      "hide": true
    },
    {
      "type": "input",
      "label": "发布日期",
      "prop": "createDate"
    },
    {
      "type": "upload",
      "label": "上传附件",
      "span": 24,
      "display": true,
      "hide": true,
      "dataType": "String",
      "prop": "fileObject",
      "showFileList": true,
      "multiple": true,
      "limit": 10,
      props: {
        label: 'fileName',
        value: 'filePath'
      },
      "propsHttp": {
        "url": "url",
        "name": "originalName",
        "fileName": "file",
        "res": "data"
      },
      "canvasOption": {},
      "action": "/file/attachment/upload",
      "listType": "text"
    },
    {
      "type": "number",
      "label": "当前排序",
      "prop": "sequence",
      "controls": true,
      "display": true,
      "value": "999",
      "placeholder": "",
      "span": 24
    },
    {
      "type": "switch",
      "label": "是否热点",
      "prop": "hot",
      "span": 24,
      "min": 0,
      "max": 10,
      "display": true,
      "value": 0,
      "dicData": [
        {
          "label": "是",
          "value": "PD10001"
        },
        {
          "label": "否",
          "value": "PD10002"
        }
      ]
    },
    {
      "type": "switch",
      "label": "是否图片",
      "prop": "isPicNews",
      "span": 24,
      "display": true,
      "value": 0,
      "hide": true,
      "dicData": [
        {
          "label": "是",
          "value": "PD10001"
        },
        {
          "label": "否",
          "value": "PD10002"
        }
      ],
      "bind": ""
    },
    {
      "type": "radio",
      "label": "当前状态",
      "prop": "status",
      "span": 24,
      "dicData": [
        {
          "label": "显示",
          "value": "ZT10001"
        },
        {
          "label": "隐藏",
          "value": "ZT10002"
        }
      ],
      "display": true,
      "props": {
        "label": "label",
        "value": "value"
      }
    },
    {
      "type": "input",
      "label": "关键字",
      "prop": "keywords",
      "span": 24,
      "hide": true
    },
    {
      "type": "textarea",
      "label": "内容摘要",
      "prop": "discription",
      "span": 24,
      "display": true,
      "hide": true
    },
    {
      "type": "ueditor",
      "label": "详情介绍",
      "prop": "content",
      "span": 24,
      "component": "avue-ueditor",
      "display": true,
      "hide": true,
      "options": {
        "action": "",
        "oss": "",
        "props": {},
        "ali": {},
        "qiniu": {}
      }
    }
  ],
  "labelPosition": "left",
  "labelSuffix": "：",
  "labelWidth": 120,
  "gutter": 0,
  "menuBtn": true,
  "submitBtn": true,
  "submitText": "提交",
  "emptyBtn": true,
  "emptyText": "清空",
  "menuPosition": "center",
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "searchMenuSpan": 6
}
